Skip to content

Conversation

@dashk
Copy link
Contributor

@dashk dashk commented Dec 29, 2013

New rule to detect if a sheet has @import over 31 sheets in IE6-9.

While @import is technically OK in IE6-9, there is a hard limit you can @import per sheet. This is documented on MSDN [1].

This rule should only apply to IE6 to IE9.

A rule page [2] has been created to document this optional rule. If accepted, this page should be added to Compatibility section in Rules.

[1] http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/internet-explorer-stylesheet-rule-selector-import-sheet-limit-maximum.aspx

[2] https://github.com/dashk/csslint/wiki/Disallow-a-sheet-@import---31-sheets-in-IE6-9

@dashk
Copy link
Contributor Author

dashk commented Jan 3, 2014

@pomeh - Agree. Thanks for the feedback. I will update the code and submit another patch.

@XhmikosR
Copy link
Member

XhmikosR commented Jan 9, 2016

@dashk: can you fetch, rebase and squash the patches?

@dashk dashk force-pushed the master branch 2 times, most recently from 50ea8a7 to 677555b Compare January 18, 2016 16:50
@dashk
Copy link
Contributor Author

dashk commented Jan 18, 2016

Sorry about the delay @XhmikosR!

It's been rebased & squashed.

@XhmikosR XhmikosR added this to the 1.0.0 milestone Jan 18, 2016
XhmikosR added a commit that referenced this pull request Jan 18, 2016
New rule to detect if a sheet has @import over 31 sheets in IE6-9
@XhmikosR XhmikosR merged commit c4560af into CSSLint:master Jan 18, 2016
@XhmikosR
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants